﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;

namespace dungeon_brawler.classes
{
    public class door : StaticEntity
    {
        protected bool open = true;





        public door(Vector2 position, Texture2D texture, bool open, int rotation)
            : base(position, texture, rotation)
        {

        }


        public void  unlock()
        {
         open = true;
        }


        public void locked()
        {
        open = false;
        }



    }


    


}
